package com.tensquare.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ------------------------------
 * 功能：
 * 作者：WF
 * 微信：hbxfwf13590332912
 * 创建时间：2021/8/29-10:26
 * ------------------------------
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
// @EnableFeignClients
public class TensquareGatewayApplication {

    public static void main(String[] args) {
        //解决sentinel图形界面上不显示“api管理”菜单问题
        System.setProperty("csp.sentinel.app.type", "1");
        SpringApplication.run(TensquareGatewayApplication.class);
    }
}
